home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 22 / PC Actual CD 22.iso / SHARE / prog / POVRAY / E-P-O.ZIP / THING-1.INC < prev    next >
Encoding:
Text File  |  1996-10-31  |  1.2 KB  |  42 lines

  1.  
  2. //------------------------------------------------------------------->
  3. //
  4. // thing-1.inc
  5. //
  6. // "Easy POV Oven"
  7. //
  8. // Written By: Paul T. Dawson
  9. //             ptdawson@voicenet.com
  10. //             http://www.voicenet.com/~ptdawson
  11. //
  12. // All code and techniques are PUBLIC DOMAIN - have fun with it!
  13. //
  14. //------------------------------------------------------------------->
  15. //
  16. // This builds the Thing_1 object.
  17. //
  18. //------------------------------------------------------------------->
  19. //
  20. // Trace once for image_map, then again in main scene.
  21.  
  22.         #declare Thing_1 = union {
  23.  
  24.                 #declare A = 0 #while ( A < 360 )
  25.                         sphere { 0, 0.3
  26.                                 translate x * 0.5
  27.                                 rotate z * A * 13
  28.                                 translate x * 3
  29.                                 rotate y * A
  30.                                 } // End of sphere.
  31.                 #declare A = A + 2 #end
  32.  
  33.                 pigment { Blue }
  34.                 finish{Shiny}
  35.  
  36.                 } // End of union.
  37.  
  38. //------------------------------------------------------------------->
  39. //
  40. // End of this file.
  41.  
  42.